testsuite: Add a test that checks for property accessors
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Oct 2020 16:22:05 +0000 (12:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Oct 2020 18:28:37 +0000 (14:28 -0400)
commitd0b7a4a4eccd2550d6647ee3162882c19e2fcae5
treea8cc86a4e0a9cd992199dd56ca038b9b1b2a9ad6
parent60b1b4669eec5b5b550b64e8966b07aeb021a1f3
testsuite: Add a test that checks for property accessors

Make sure that every object property in GTK has accessors for getting
its value (if the property is readable) or setting it (if it is
writable).

Since we are still missing accessors, the test is allowed to
fail for now. Sadly, mesons xfail support is busted, so we just
disable the test entirely :(

Based on initial work by Benjamin Otte.

Related: #2440
testsuite/gtk/accessor-apis.c [new file with mode: 0644]
testsuite/gtk/meson.build